﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StructureMap.Configuration.DSL;
using Tdv.Wfrp.CharacterGenerator.Domain.Characteristics;
using Tdv.Wfrp.CharacterGenerator.Infrastructure.Repositories;
using Tdv.Wfrp.CharacterGenerator.Infrastructure;

namespace Tdv.Wfrp.CharacterGenerator.Client.Bootstrapper
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses")]
    internal class DomainRegistry : Registry
    {
        public DomainRegistry()
        {
            ForRequestedType<ICharacteristicRepository>().TheDefaultIsConcreteType<CharacteristicRepository>();
            ForRequestedType<ISessionService>().TheDefaultIsConcreteType<SessionService>();
        }
    }
}
